package com.atguigu.gulimall.finance.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.finance.entity.TypeEntity;
import com.atguigu.gulimall.finance.entity.vo.TypeVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 财务类型配置
 *
 * @author huguangwei
 * @email huguangwei@gmail.com
 * @date 2023-01-19 09:18:37
 */
public interface TypeService extends IService<TypeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据id获取类型
     *
     * @param id 类型编号
     * @return TypeVo
     */
    TypeVo getTypeById(Long id);
}

